
*{
  margin:0;
  padding:0
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;

}
html {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}
q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}
a img {
  border: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}
.mb0{
  margin-bottom:0;
}
.mt0{
  margin-top:0;
}
/*
 * redRain
 */
::-webkit-scrollbar {
  width: 0px !important;
}
html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  font-size:16px;
}
body {
  margin: 0;
  padding: 0;
  position: relative;
  background-position: center;
  width: 100%;
  height: 100%;
  overflow-y: hidden;
}


.main {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow-y: hidden;
}
.main li {
  position: absolute;
  animation: all 3s linear;
  top: -100px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.main li a {
  display: block;
}
.main li img {
  width: 100%;
}
.shade{
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  right:0;
  z-index:99999999999999;
}
/*顶部状态栏*/
#topBar{
  position:fixed;
  top:10px;
  left:0;
  box-sizing:border-box;
  width:100%;
  padding:0 10px;
  z-index:2;
  display:flex;
  flex-direction:row;
  justify-content:space-between;
  transition:all .3s;
}
#topBar span{
  color:#fff;
  display:inline-block;
  border-radius:8px;
  background-color:rgba(0, 0, 0, 0.5);
  padding:5px 15px; 
  height:25px;
  line-height:25px;
}
#topBar span i{
  display:inline-block;
  vertical-align:middle;
  height:24px;
  line-height:24px;
  font-style:normal;
}
#rTime{
  // margin:0 4px;
  color:#fd0204;
  width:30px;
  text-align:center;
  font-weight:bold;
}
.rX{ 
  vertical-align:middle;
  color:#fad547;
  margin-right:6px;
}
#topBar #rNum{ 
  line-height:27px;
}
.rIcon{
  display:inline-block;
  vertical-align:middle;
  margin-right:5px;
  width:33px;

  background:url(../img/redPacket.png) no-repeat;
  background-size:cover;
}
.addNum{
  width:54px;
  height:18px;
  background:url(../img/add1.png) no-repeat;
  background-size:cover;
  position:absolute;
  z-index:3;
}
/*流星 S*/
.space {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.star {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFF;
  top: 100px;
  left: 400px;
  position: relative;
  transform-origin: 100% 0;
  animation: star-ani 6s infinite ease-out;
  box-shadow: 0 0 5px 5px rgba(255, 255, 255, .3);
  opacity: 0;
  z-index: 2;
}
.star:after {
  content: '';
  display: block;
  top: 0px;
  left: 4px;
  border: 0px solid #fff;
  border-width: 0px 90px 3px 90px;
  border-color: transparent transparent transparent rgba(255, 255, 255, .3);
  transform: rotate(-45deg) translate3d(1px, 4px, 0);
  box-shadow: 0 0 1px 0 rgba(255, 255, 255, .1);
  transform-origin: 0% 100%;
  animation: shooting-ani 3s infinite ease-out;
}
.pink {
  top: 30px;
  left: 395px;
  background: #ff5a99;
  animation-delay: 3s;
  -webkit-animation-delay: 3s;
  -moz-animation-delay: 3s;
}
.pink:after {
  border-color: transparent transparent transparent #ff5a99;
  animation-delay: 3s;
  -webkit-animation-delay: 3s;
  -moz-animation-delay: 3s;
}
.blue {
  top: 35px;
  left: 432px;
  background: cyan;
  animation-delay: 5s;
  -webkit-animation-delay:5s;
  -moz-animation-delay: 5s;
}
.blue:after {
  border-color: transpareanimation-delay:12s;
  -webkit-animation-delay: 5s;
  -moz-animation-delay: 5s;
  animation-delay: 5s;
}
.yellow {
  top: 50px;
  left: 600px;
  background: #ffcd5c;
  animation-delay: 5.8s;
}
.yellow:after {
  border-color: transparent transparent transparent #ffcd5c;
  animation-delay: 5.8s;
}
@keyframes star-ani {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0) translate3d(0, 0, 0);
    -webkit-transform: scale(0) rotate(0) translate3d(0, 0, 0);
    -moz-transform: scale(0) rotate(0) translate3d(0, 0, 0);
  }
  50% {
    opacity: 1;/*        transform: scale(1) rotate(0) translate3d(-300px, 300px, 0);
            -webkit-transform: scale(1) rotate(0) translate3d(-300px, 300px, 0);
            -moz-transform: scale(1) rotate(0) translate3d(-300px, 300px, 0);*/
  }
  100% {
    opacity: 0;
    transform: scale(1) rotate(0) translate3d(-600px, 600px, 0);
    -webkit-transform: scale(1) rotate(0) translate3d(-600px, 600px, 0);
    -moz-transform: scale(1) rotate(0) translate3d(-600px, 600px, 0);
  }
}
@keyframes redPack_left{
  0% {
    opacity: 0.8;
    transform: scale(0.95) translate3d(0, 0, 0);
    -webkit-transform: scale(0.95) translate3d(0, 0, 0);
    -moz-transform: scale(0.95) translate3d(0, 0, 0);
  }
  5% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(-500px, 1000px, 0);
    -webkit-transform: scale(1) translate3d(-500px, 1000px, 0);
    -moz-transform: scale(1) translate3d(-500px, 1000px, 0);
  }
}

@keyframes redPack_vertical {
  0% {
    opacity: 0.8;
    transform: scale(0.95) translate3d(0, 0, 0);
    -webkit-transform: scale(0.95) translate3d(0, 0, 0);
    -moz-transform: scale(0.95) translate3d(0, 0, 0);
  }
  5% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0px, 1000px, 0);
    -webkit-transform: scale(1) translate3d(0px, 1000px, 0);
    -moz-transform: scale(1) translate3d(0px, 1000px, 0);
  }
}

.main li {
  z-index:999;
}
 /*流星 E*/
/*layer样式覆盖*/
.layui-m-layer .layui-m-layerchild{
  background-color:#fb3f3b;
  width:80% !important;
}
 .layui-m-layermain .layui-m-layerbtn{
    width:67% !important;
    margin:0 auto 50px auto;
    background-color:#f9e603;
    border-radius:5px;
    border-top:none;
 }
.layui-m-layermain .layui-m-layerbtn span[yes]{
      color:#964435;
      font-size:1.2rem;
      font-weight:bold;
}
.layui-m-layercont{
    padding:50px 30px 20px 30px !important;
}

/*
 *弹窗
 **/
.popImg{
    width:50%;
    margin:0 auto;
    overflow:hidden;
    border-radius:50%;
  }
.popImg img{
  width:100%;
}
.redRainPop{
  color:#fff;
  text-align:center;
}
.redRainPop .p1{
  color:#fff;
  font-weight:bold;
  font-size:1.2rem;
  line-height:1.5rem;
  max-height:3rem;
  overflow:hidden;
  margin-bottom:0;
  margin:10px 0;
}
.redRainPop .p2{
  color:#fff;
  font-size:1rem;
  line-height:1.2rem;
  margin:10px 0;
}
.redRainPop h2{
  font-size:1.5rem;
}
.redRainPop input{
  width:90%;
  height:35px;
  border-radius:5px;
  padding-left:5px;
  margin:10px 0;
  outline:none;
  border:none;
  background-color:#d40202;
  color:#fff;
  font-size:1rem;
}
.redPacketWrap{
  width:100%;
  overflow:hidden;
  height:200px;
  position:absolute;
  left:0;
}
.redPacket{
  height:300px;
  border:10px solid #fad547;
  border-top:none;
  position:absolute;
  box-sizing:border-box !important;
  width:120%;
  left:-10%;
  top:-170px;
  border-radius: 10px 10px 90% 90%;
  box-shadow: 0px 4px 0px -1px rgba(0,0,0,0.2);
}
.redPacket_open{
  width: 30%;
  padding-bottom:30%;
  display: block;
  content: '';
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  left: 50%;
  bottom:-15%;
  margin-left:-15%;
  background-color: #fad547;
  background-repeat:no-repeat;
  background-position:top left;
  background-size:cover;
}
.rotate {
    -webkit-animation: anim .6s infinite alternate;
    -ms-animation: anim .6s infinite alternate;
    animation: anim .6s infinite alternate;
}
@-webkit-keyframes anim {
    from { -webkit-transform: rotateY(180deg); }
    to { -webkit-transform: rotateY(360deg); }
}
@-ms-keyframes anim {
    from { -ms-transform: rotateY(180deg); }
    to { -ms-transform: rotateY(360deg); }
}
@keyframes anim {
    from { transform: rotateY(180deg); }
    to { transform: rotateY(360deg); }
}

.layui-m-layer{
  position:absolute !important;
  transition: all 2s; 
}
.layui-m-layerchild{
      animation-duration: .8s !important;
}

/** 
 * 开始欢迎页面
 */
#startPage{
  left:0;
  top:0;
  bottom:0;
  right:0;
  position:fixed;
  background:url(../img/startBg.jpg) no-repeat red left top;
  background-size:cover;
  z-index:999;
  overflow:auto;
}
.startPageFooter{
  padding:0 10px;
  position:absolute;
  left:0;
  bottom:0;
}
#logo{
width:20%;padding-bottom:20%;margin:0 auto 40px auto;
  background-repeat:no-repeat;
  background-position:center;
  background-size:100%;
}
.startPageFooter p{
  color: #fff;
  font-size:1.2rem;
  line-height:1.6rem;
  text-align:center;
}
.startPageFooter .p1{
  font-size:1.2rem;
  line-height:1.6rem;
  margin:3px 0;
}
.startPageFooter .p2{
  text-align:left;
  margin:3px 0;
}
.startPageFooter .p3{
  font-size:1.0rem;
  line-height:1.6rem;
  margin:3px 0;
}
.startPageFooter a{
  display:block;
  width:75%;
  height:3rem;
  background-color:#f9e603;
  border-radius:4px;
  margin:0 auto;
  text-align:center;
  line-height:3rem;
}
.startPageFooter a:active{
    background-color:yellow;
}
#topBar p span{margin-right:10px;}
.actRule{
  margin-right:10px;
}
.inputWrap{
  width:100%;
  display:flex;
  flex-direction:row;
}
.inputWrap input{
    flex:1;
}
.code *{
  display:block;
}
.code a{
  width:3rem;
  line-height:58px;
}
.code a:active{
  color:yellow;
}

input::-webkit-input-placeholder { /* WebKit browsers*/ 
　　color:#fff;font-size:14px;
　　}
input:-moz-placeholder {  /* Mozilla Firefox 4 to 18*/ 
　　color:#fff;font-size:14px;
　　}
input::-moz-placeholder {  /* Mozilla Firefox 19+*/ 
　　color:#fff;font-size:14px;
　　}


::-webkit-input-placeholder { /* WebKit browsers */
color: #fff !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #fff !important;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #fff !important;
}


